package post_type

import (
	"github.com/gin-gonic/gin"
	. "myplatform/handler/post_type"
)

func TypeLoad(g *gin.Engine) {
	//根据分类找文章，ip7米哈游-》2，3，4号文章
	g.GET("/type/post", GetPostBytype)
	g.GET("/type/postHTML", GetPostBytypeHTML)

	g.POST("/type/post/:id", Addpostandtype)
}
